﻿<UserControl x:Class="Boxi.UserControls.Alert"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignWidth="480" d:DesignHeight="768">
    
    <Canvas x:Name="LayoutRoot" Margin="0">
        <Rectangle x:Name="rclOverlay" Opacity="0.5" Fill="Black" Width="480" Height="768"></Rectangle>
        <StackPanel x:Name="spAlert" Orientation="Vertical" Visibility="Collapsed">
            <TextBlock x:Name="txtAlertMessage" FontSize="20" TextWrapping="Wrap"></TextBlock>
            <TextBlock x:Name="txtAlertDetails" FontSize="14" TextWrapping="Wrap"></TextBlock>
            <StackPanel Orientation="Horizontal">
                <Button FontSize="20" Padding="4"  x:Name="btnAlertClose" Click="btnAlertClose_Click" Content="Close"></Button>
                <Button FontSize="20" Padding="4"  x:Name="btnAlertDetails" Click="btnAlertDetails_Click" Content="Details"></Button>
            </StackPanel>
        </StackPanel>
    </Canvas>
</UserControl>
